<template>
  <div>
    <div>
      <h4>稳定性</h4>
      <el-row type="flex" justify="space-between">
        <el-col :span="11">
          <span>侧方稳定性</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.stability_radio1" >
              <el-radio :label="1">>10mm</el-radio>
              <el-radio :label="2">5-10mm</el-radio>
              <el-radio :label="3">≤4mm</el-radio>
              <el-input v-model="pgForm.stability_input1" placeholder="备注"></el-input>
            </el-radio-group>
          </div>
        </el-col>
        <el-col :span="11">
          <span>前后方稳定性</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.stability_radio2" >
              <el-radio :label="1">>10mm</el-radio>
              <el-radio :label="2">5-10mm</el-radio>
              <el-radio :label="3">≤5mm</el-radio>
              <el-input v-model="pgForm.stability_input2" placeholder="备注"></el-input>
            </el-radio-group>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "stability",
  title: "稳定性",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      pgForm: {
        stability_radio1: '',
        stability_radio2: '',
        stability_input1: '',
        stability_input2: '',
      }
    }
  }
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
.el-radio-group{
  padding: 10px 20px;
}
.el-radio{
  display: block;
  margin-bottom: 15px;
}
</style>
